package com.antdesignbackend.backend.form.animalDaily.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import lombok.Data;

/**
 * 动物诊疗机构日常巡查记录
 *
 * @author 林宇杰
 * @email animalDaily
 * @date 2020-08-10 14:58:48
 */

@Data
@TableName(value = "t_animaldaily")
public class AnimalDaily implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId(value = "Id",type = IdType.AUTO)
	private Integer id;

	//巡查日期
	@TableField(value = "InspectionDate")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date inspectionDate;
	//被巡查对象名称
	@TableField(value = "InspectionName")
	private String inspectionName;
	//被巡查对象id
	@TableField(value = "InspectionId")
	private Integer inspectionId;
	//法人或负责人
	@TableField(value = "LegalPerson")
	private String legalPerson;
	//从业地址
	@TableField(value = "Address")
	private String address;
	//联系电话
	@TableField(value = "Phone")
	private String phone;
	//诊疗范围
	@TableField(value = "Treatment")
	private String treatment;
	//是否办理动物诊疗许可证
	@TableField(value = "Licence")
	private String licence;
	//取得《动物诊疗许可证》后条件是否变化
	@TableField(value = "ChangeSituation")
	private String changeSituation;
	//显著位置是否公示许可证和从业人员资格证
	@TableField(value = "Qualification")
	private String qualification;
	//是否规范使用病历
	@TableField(value = "MedicalRecord")
	private String medicalRecord;
	//是否规范使用处方笺
	@TableField(value = "Prescription")
	private String prescription;
	//病历档案是否保存三年以上
	@TableField(value = "Archives")
	private String archives;
	//是否规范使用兽药和兽医器械
	@TableField(value = "Apparatus")
	private String apparatus;
	//是否按规定年度报告活动
	@TableField(value = "Activity")
	private String activity;
	//从业人员是否取得执业或助理执业兽医资格证
	@TableField(value = "Employees")
	private String employees;
	//是否经兽医执业注册、登记备案
	@TableField(value = "Registration")
	private String registration;
	//变更诊疗机构有无重新办理注册或者备案
	@TableField(value = "KeepRecord")
	private String keepRecord;
	//是否实行注册执业兽医师出具处方
	@TableField(value = "IssuePrescription")
	private String issuePrescription;
	//是否使用规范格式的处方
	@TableField(value = "StandardFormat")
	private String standardFormat;
	//是否按规定合理用药
	@TableField(value = "RationalUse")
	private String rationalUse;
	//有无使用假劣兽药和国家禁用的药品、化合物
	@TableField(value = "FakeMedicine")
	private String fakeMedicine;
	//是否按规定定期报告执业活动情况
	@TableField(value = "PeriodicReport")
	private String periodicReport;
	//是否有出证、出租、出借执业证书情况
	@TableField(value = "Lend")
	private String lend;
	//监督检查情况
	@TableField(value = "Supervision")
	private String supervision;
	//巡查现场图片
	@TableField(value = "InspectionPhoto")
	private String inspectionPhoto;
	//巡查单位名称	
	@TableField(value = "InspectionCompany")
	private String inspectionCompany;
	//备注
	@TableField(value = "Remark")
	private String remark;
	//状态，0未通过，1通过，2审批中，3驳回
	@TableField(value = "Types")
	private Integer types;
	//创建人
	@TableField(value = "CreateBy")
	private Integer createBy;
	//创建时间
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField(value = "CreateTime")
	private Date createTime;
	//企业ID
	@TableField(value = "Eid")
	private Integer eid;
	//巡查人员签字
	@TableField(value = "InspectionPerson")
	private String inspectionPerson;
	//被巡查人员签字
	@TableField(value = "ToInspectionPerson")
	private String toInspectionPerson;
}
